package com.nunbey.lingxi;

import java.time.LocalDateTime;

/**
 * @description 测试
 * @author lincat
 */
public class TestAccess {
    public static void main(String[] args) {
        String time = LocalDateTime.now().toString();
        System.out.println(time.lastIndexOf('.'));
        time = time.substring(0,time.lastIndexOf('.'));
        System.out.println(time);
    }
}
